cmake_minimum_required(VERSION 3.15)
project(RtspOutputPicture C)

set(CMAKE_C_STANDARD 99)

include_directories(include/)
link_directories(bin)

add_executable(RtspOutputPicture main.c rtmp_output_picture.h rtmp_output_picture.c rtmp_pool.h rtmp_pool.c constant.h)

target_link_libraries(
        RtspOutputPicture
        avcodec-58
        avdevice-58
        avfilter-7
        avformat-58
        avutil-56
        postproc-55
        swresample-3
        swscale-5
)